package com.api.service;

import com.api.common.reqres.Request;
import com.api.common.reqres.Response;
import com.api.model.entity.Commodity;
import com.api.model.request.CommodityDetailRequest;
import com.api.model.request.CommodityListRequest;
import com.api.model.response.CommodityDetailResponse;
import com.api.model.response.CommodityListResponse;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author cfp
 * @since 2019-10-17
 */
public interface CommodityService extends IService<Commodity> {

	public Response<CommodityListResponse> commodityList(Request<CommodityListRequest> request);

	public Response<CommodityDetailResponse> commodityDetail(Request<CommodityDetailRequest> request);
}
